<?php

namespace app\admin\model;


/**
 * 分类
 */
class AdminAuthGroup extends \app\common\model\BaseModel
{

    // 系统级角色
    // 超级管理员
    const ADMIN = 1;
    // 用户
    const USER = 3;
    // 游客
    const  GUEST = 2;

    /**
     * 表名,
     */
    protected $table = 'admin_group';

    protected $pk = 'group_id';

    protected $type = [
        'menu_rules' => 'json',
        'api_rules' => 'json',
    ];

    public static function build()
    {
        return new self();
    }
}